<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>Combitech ordersystem</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<h:outputStylesheet name="css/screen.css" />
	<link rel="shortcut icon" type="image/x-icon" href="#{request.contextPath}/resources/gfx/favicon.ico"/>	
</h:head>
<h:body>
	<div id="container">
		<div class="dualbrand">
			<img src="../resources/gfx/combi_logo.jpg" />
		</div>
		<div>
			<h:panelGrid columns="4">
				<h:form>
					<h:commandLink action="#{menuController.home()}">
						<h:outputText
							styleClass="menuItem #{(menuController.selectedForm=='HOME')?'menuItemSelected':''}"
							value="&nbsp;&nbsp;Hem&nbsp;&nbsp;" />
					</h:commandLink>
					<h:commandLink action="#{menuController.regCustomer()}">
						<h:outputText
							styleClass="menuItem #{(menuController.selectedForm=='CUSTOMER')?'menuItemSelected':''}"
							value="&nbsp;&nbsp;Registrera kund&nbsp;&nbsp;" />
					</h:commandLink>
					<h:commandLink action="#{menuController.regOrder()}">
						<h:outputText
							styleClass="menuItem #{(menuController.selectedForm=='ORDER')?'menuItemSelected':''}"
							value="&nbsp;&nbsp;Registrera order&nbsp;&nbsp;" />
					</h:commandLink>
					<h:commandLink action="#{menuController.regProduct()}">
						<h:outputText
							styleClass="menuItem #{(menuController.selectedForm=='PRODUCT')?'menuItemSelected':''}"
							value="&nbsp;&nbsp;Registrera produkt&nbsp;&nbsp;" />
					</h:commandLink>
				</h:form>
			</h:panelGrid>
		</div>
		<div id="content">
			<f:view>
				<ui:insert name="content" />
			</f:view>
		</div>
		<div id="footer">
			<p>
				Detta är ett exempelprojekt för Java EE 6.<br />
			</p>
		</div>
	</div>
</h:body>
</html>
